home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
stistics.arc
/
CHI-SQ.DOC
next >
Wrap
Text File
|
1988-07-24
|
2KB
|
45 lines
CHI SQUARE ANALYSIS
AIM: This is the standard chi squared analysis, designed to take up to
contingency tables up to 10 rows and 10 columns. The program can be easily
customized to take larger tables, if necessary.
EXAMPLE: An investigation was made into fatal poisonings of children by
three drugs which were the leading causes of such deaths. In each death,
an inquiry was made as to how the child had received the fatal overdose and
responsibility for the accident was assessed, as follows:
OBSERVATIONS DRUG A DRUG B DRUG C
Child responsible 8 12 13
Parent responsible 17 10 9
Another person 14 9 10
responsible
The built-in Chi-square table provides a critical value of 9.5 at 4DF.
Since the calculated value is only 4.33, there is not a significant
difference and we can conclude that the three drug fatality groups may well
be from the same population, i.e., that the apparent associations may well
not be real.
Data can be entered from a WordStar non-document file. Below is an example
of the format:
Chi-squared data from file. <-- A title of up to 65 characters of any kind.
3 3 <-- Indicates 3 columns X 3 rows
8 12 13 <-- The data, just as it appears in the
17 10 9 table above.
14 9 10
REFERENCE: Goldstein, A. 1964 Biostatistics: An Introductory Text.
Macmillan Company, New York. Pages 112-113 and Table 9.
BASIC VERSION: Dr. John Kalbfleisch Aug 81
PASCAL VERSION: Dr. Stanley Kaplan Aug 85
UPDATES: Oct 86 (Version 2.00)
Feb 87 (Version 2.10)
Feb 88 (MS-DOS, Version 2.2)